#include "SList.h"

void test ()
{

    SLTNode* sl = NULL ; 

    SLTPushBack (&sl , 1) ;

    SLTPushBack (&sl , 2) ;

    SLTPushBack (&sl , 3) ;

    SLTPushBack (&sl , 4) ;

    SLTPrint (sl) ;

    SLTPopBack (&sl) ;
    
    SLTPrint (sl) ;

    SLTPushFront (&sl , 114) ;

    SLTPrint (sl) ;

    SLTPopFront (&sl) ;

    SLTEraseAfter (sl -> next) ;

    SLTPrint (sl) ;

    SLTDestory (&sl) ;
    
}

int main ()
{

    test () ;

    return 0 ;

}